﻿<UserControl x:Class="SQLToolbox.View.UserControls.TextComparer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" MinHeight="200" MinWidth="300">
    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <ToolBarTray Grid.Row="0" Name="toolBarTray1" HorizontalAlignment="Stretch" Background="Transparent" >
            <ToolBar Band="1" BandIndex="1" Height="26" >
                <RadioButton Name="rbComp" GroupName="TextComparatorPreviewModes" IsChecked="True" ToolTip="Show comparison">
                    <Image Source="..\Resources\Both.ico"/>
                </RadioButton>
                <RadioButton Name="rbLeft" GroupName="TextComparatorPreviewModes" ToolTip="Only left script">
                    <Image Source="..\Resources\Left.ico"/>
                </RadioButton>
                <RadioButton Name="rbRight" GroupName="TextComparatorPreviewModes" ToolTip="Only right script">
                    <Image Source="..\Resources\Right.ico"/>
                </RadioButton>
            </ToolBar>
        </ToolBarTray>
        <FlowDocumentScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" Name="viewer">
            <FlowDocument>
                <Table Name="table" FontFamily="Courier New" FontSize="11" CellSpacing="0" Background="White" TextAlignment="Left">
                    <Table.Columns>
                        <TableColumn Width="15"/>
                        <TableColumn Width="15"/>
                        <TableColumn/>
                    </Table.Columns>
                    <TableRowGroup>

                    </TableRowGroup>
                </Table>
            </FlowDocument>
        </FlowDocumentScrollViewer>
    </Grid>
</UserControl>
